//
//  NavigationController.m
//  Students affairs
//
//  Created by eliot on 16/1/7.
//  Copyright © 2016年 aleven. All rights reserved.
//

#import "NavigationController.h"
@interface NavigationController ()

@end

@implementation NavigationController

- (void)viewDidLoad {
    [super viewDidLoad];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/




/**
 *  类方法创建HomeViewController
 *
 *  @return
 */
+(NavigationController*)creatNavigationController{
    
    UIStoryboard *story=[UIStoryboard storyboardWithName:@"Main" bundle:nil];
    NavigationController *setting=[story instantiateViewControllerWithIdentifier:@"nav"];
    return setting;
}
@end
